import { pageInfo } from "./pageInfo"

/**
 * 菜单创建字段
 */
export interface createMenuRequest {
    parentID?: String,
    name: String,
    router?: Boolean,
    pageUrl?: String,
    enuType?: Number,
    menuIcon?: String,
    sort?: Number,
    enable:Boolean
}

/**
 * 菜单修改字段
 */
export interface updateMenuRequest extends createMenuRequest {
   id:String
}

/**
 * 菜单查询字段
 */
export interface searchMenuRequest extends pageInfo {
    menuName?: String,
    menuType?: Number,
}